import java.util.List;

/**
 * @author ghp
 * @date 2023/6/10
 * @title
 * @description
 */
public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        List<List<String>> ans = solution.groupAnagrams(new String[]{"eat", "tea", "tan", "ate", "nat", "bat"});
//        List<List<String>> ans = solution.groupAnagrams(new String[]{""});
        ans.forEach(System.out::println);
    }
}
